package cn.smart.tokenx.autoconfigure;

import cn.smart.tokenx.config.WebConfig;
import cn.smart.tokenx.properties.TokenXProperty;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnProperty(prefix = "cn.smart.tokenx",name = "enable", havingValue = "true",matchIfMissing = false)
//领头羊
@Import({WebConfig.class, TokenXProperty.class})
public class TokenXAutoconfiguration {
}
